//
//  RequestHeader.h
//  rmipclient
//
//  Created by bob on 16/1/5.
//  Copyright © 2016年 bob. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HttpHeader.h"

@interface RequestHeader : NSObject

@property (nonatomic,strong) NSMutableDictionary *data;


///应用代码
@property(nonatomic,strong) NSString   *appcode;
///业务指令
@property(nonatomic,strong) NSString   *func;
///时间戳
@property(nonatomic,strong) NSString   *timestamp;
///校验码
@property(nonatomic,strong) NSString   *checkcode;
///序列标识
@property(nonatomic,strong) NSString   *seqid;
///数据类型，参见DataType枚举定义
@property(assign) NSInteger  datatype;

///HTTP头
@property(nonatomic,strong) HttpHeader  *httpheader;

///初始化消息头参数信息
-(BOOL)checkvalid;

///获取消息头
-(NSMutableDictionary*) getHeader;



@end
